package com.gdut.simple.data.entity;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Note {

    private String type;

    private List<Wiki> wiki;

    public Note(String type, List<Wiki> wiki) {
        this.type = type;
        this.wiki = wiki;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<Wiki> getWiki() {
        return wiki;
    }

    public void setWiki(List<Wiki> wiki) {
        this.wiki = wiki;
    }

    public static List<Note> getNotes() {
        List<Note> notes = new ArrayList<>();
        notes.add(new Note(Wiki.TYPES[0], Arrays.asList(Wiki.TYPE_HTML_CSS)));
        notes.add(new Note(Wiki.TYPES[1], Arrays.asList(Wiki.TYPE_JAVASCRIPT)));
        notes.add(new Note(Wiki.TYPES[2], Arrays.asList(Wiki.TYPE_WEB)));
        notes.add(new Note(Wiki.TYPES[3], Arrays.asList(Wiki.TYPE_DATABASE)));
        notes.add(new Note(Wiki.TYPES[4], Arrays.asList(Wiki.TYPE_MOBILE)));
        notes.add(new Note(Wiki.TYPES[5], Arrays.asList(Wiki.TYPE_XML)));
        notes.add(new Note(Wiki.TYPES[6], Arrays.asList(Wiki.TYPE_ASP_NET)));
        notes.add(new Note(Wiki.TYPES[7], Arrays.asList(Wiki.TYPE_WEB_SERVICE)));
        notes.add(new Note(Wiki.TYPES[8], Arrays.asList(Wiki.TYPE_DEVELPMENT_TOOL)));
        notes.add(new Note(Wiki.TYPES[9], Arrays.asList(Wiki.TYPE_SITE__BUILD)));
        return notes;
    }
}
